.dropdownContainer {
  position: relative;
  display: inline-block;
}

.toolButton i {
  margin-right: 0.5em;
}

.toolButton .chevron {
  margin-left: 0.5em;
  margin-right: 0;
  font-size: 0.75em;
}

.toolButton:focus {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(var(--bs-primary-rgb), 0.5),
    inset 0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.dropdownMenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  z-index: 1001;
  min-width: 100%;
  overflow: hidden;
}

.dropdownItem {
  display: block;
  width: 100%;
  padding: 0.25rem 0.75rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--bs-body-color);
  white-space: nowrap;
  transition: background-color 0.15s ease-in-out;
}

.dropdownItem:hover {
  background-color: var(--bs-tertiary-bg);
}

.dropdownItem:active {
  background-color: var(--bs-secondary-bg);
}
